<?php
declare (strict_types = 1);

namespace app\admin\service;

class StatusCode
{
    // 请求成功
    const SUCCESS = 200;

    // 创建成功
    const CREATED = 201;

    // 失败的请求 服务器未能识别请求
    const BAD_REQUEST = 400;

    // 身份验证失败
    const UNAUTHORIZED = 401;
    
    const INVALID_REQUEST = 403;

    // 请求资源不存在
    const NOTFOUND = 404;

    // 服务器端错误
    const SERVER_ERROR = 500;

    
}